package com.lingchou.cloud.process.api.dto.param.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ApiModel(value = "TaskNode", description = "任务节点")
public class TaskNode {

    /**
     * 选人范围
     */
    @ApiModelProperty(value = "选人范围", required = true)
    @NotBlank(message = "选人范围不能为空")
    private String selectionRangeKey;

    /**
     * 节点名称
     */
    @ApiModelProperty(value = "节点名称",required = true)
    @NotBlank(message = "节点名称不能为空")
    private String nodeName;
}
